<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{% block title %}{% endblock %}</title>
<link rel="stylesheet" type="text/css" href="{{MEDIA_URL}}css/base.css">
{% block head %}
{% endblock%}
</head>

<body id="All">
<div class="header">
  <div class="apDiv2">
    {% block navbar %}
    {% endblock %}
  </div>
</div>

<div id="container">
  {% block body %}
  {% endblock %}
</div>

<div class="tail">
    版权所有 &copy; by Jiaion 2010
</div>
<script>
function cHeight()
{
  var wh = document.documentElement.clientHeight;
  document.getElementById('All').style.height = wh +"px";
  if (document.getElementById('login'))
  {
    document.getElementById('login').style.top = (wh -118-180)/3 +"px";
  }
}
window.onload = cHeight; 
</script>
</body>

</html>
